<!DOCTYPE html>
<html lang="en" class="rightBlock2">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="../../public/css/index.css" />
    <link rel="stylesheet" href="../../public/css/for.css" />
    <link rel="stylesheet" href="./main.css" />
    <link rel="stylesheet" href="../../public/css/iframeMedia.css" />
  </head>
  <body>
    <div class="main-container rightBlock2">
      <div class="title core-flex-center">
        <div class="text core-flex-center">AI问诊</div>
        <div class="text plus">
          <img src="../../public/images/plus.png" />
        </div>
      </div>
      <div class="list bg-white-color">
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a1.png" />
            </div>
            <div
              class="contentBox core-flex-center core-flex-align-start core-flex-column"
            >
              <div class="title">李梓发</div>
              <div class="tip-color c-m-t-10 address">万年广阳郡九号</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a2.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">何能</div>
              <div class="tip-color c-m-t-10 address">
                http://xaskpceb.cd/wrylmk
              </div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a3.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">赵健民</div>
              <div class="tip-color c-m-t-10 address">上海电机学院</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon point">
              <img src="../../public/images/a4.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">系统消息助手</div>
              <div class="tip-color c-m-t-10 address">
                融云9687:通过你的好友请求
              </div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon point">
              <img src="../../public/images/a5.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">孟总</div>
              <div class="tip-color c-m-t-10 address">大家发红包</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
        <div class="item core-flex-center core-flex-justify-between">
          <div class="core-flex-center">
            <div class="icon">
              <img src="../../public/images/a6.png" />
            </div>
            <div
              class="core-flex-center core-flex-align-start core-flex-column contentBox"
            >
              <div class="title">快乐聊天群</div>
              <div class="tip-color c-m-t-10 address">钱佳怡:87126812</div>
            </div>
          </div>
          <div
            class="time core-flex-center core-flex-justify-start core-flex-column tip-color"
            style="height: 100%"
          >
            10:40
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
<script src="../../public/js/plugins/jquery/jquery.min.js"></script>
<script>
  const jq_talkItem = $(`.list`).children();
  const iframe = parent.document.getElementById("rightBlock2"); // 替换为 iframe 的实际 ID 或选择器
  console.log(iframe);
  // 为每个子项绑定点击事件
  jq_talkItem.each((index, element) => {
    $(element).click((e) => {
      console.log("点击的元素索引：", index);
      console.log("事件对象：", e);
      console.log("当前元素：", element);
      iframe.src = "./chatBlock/main.html";
    });
  });
</script>
